package com.shengyin.ec.service.companyorder;

import java.util.List;

import com.shengyin.ec.model.entity.Company;
import com.shengyin.ec.model.entity.CompanyOrder;

public interface CompanyOrderService {

	
	public void createCompanyOrder(CompanyOrder companyOrder);
	
	public List<CompanyOrder> getCompanyOrderList();
	
	public List<CompanyOrder> getCompanyOrderList(int offset,int pageSize);
	
	public Long getTotal();
	
	public CompanyOrder getCompanyOrderById(String id);
	
	public void deleteSelectedOrders(String ids[]);
	
	public void removeOrderById(long id) ;
	
	public void updateComState(CompanyOrder companyOrder);

	
	/*public List<CompanyOrder> getCompanyOrderById(String orderId);
	
	public List<CompanyOrder> getCompanyOrderListById(String orderId,int offset,int pageSize);
	
	public List<CompanyOrder> getCompanyOrderListByState(String orderState, int offset, int pageSize);
	
	public List<CompanyOrder> getCompanyOrderByState(String orderState);
	
	public List<CompanyOrder> getCompanyOrderListByBE(String beginTime,String endTime,int offset, int pageSize);
	
	public List<CompanyOrder> getCompanyOrderByBE(String beginTime,String endTime);
	
    public List<CompanyOrder> getCompanyOrderListByCompany(String company,int offset, int pageSize);
	
	public List<CompanyOrder> getCompanyOrderByCompany(String company);
	
	public List<CompanyOrder> getCompanyOrderListByComStat(String company,String orderState, int offset, int pageSize);
	
	public List<CompanyOrder> getCompanyOrderByComStat(String company, String orderState);
	
    public List<CompanyOrder> getCompanyOrderListByComBE(String company,String beginTime,String endTime, int offset, int pageSize);
	
	public List<CompanyOrder> getCompanyOrderByComBE(String company, String beginTime,String endTime);
	
	public List<CompanyOrder> getCompanyOrderListByComBEStat(String company,String beginTime,String endTime,String orderState, int offset, int pageSize);
	
	public List<CompanyOrder> getCompanyOrderByComBEStat(String company,String beginTime,String endTime,String orderState);
	
    public List<CompanyOrder> getCompanyOrderListByBEStat(String beginTime,String endTime,String orderState, int offset, int pageSize);
	
	public List<CompanyOrder> getCompanyOrderByBEStat(String beginTime,String endTime,String orderState);*/
}
